package com.warthur.spring.shiro.service;

import com.warthur.spring.shiro.pojo.User;

/**
 * @author warthur
 * @date 2018/09/08
 */
public interface UserService {

    /**
     * 根据用户名获取用户对象
     * @param name name
     * @return User
     */
    User getUserByName(String name);
}
